package com.sxbbc.common.core.entity.jz;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 用户商品收藏
 * </p>
 *
 * @author leehao
 * @since 2019-05-16
 */
@TableName("c_collect_pro")
public class CCollectPro implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 店铺id
     */
    private Integer bid;

    /**
     * 用户id
     */
    private Integer cid;

    /**
     * 产品id
     */
    private Integer pid;

    /**
     * 产品编号
     */
    private String proCode;

    /**
     * 产品图片
     */
    private String purl;

    /**
     * 产品名称
     */
    private String pname;

    /**
     * 产品描述
     */
    private String descVal;

    /**
     * 单价
     */
    private BigDecimal price;

    private Date createTime;

    /**
     * 单位
     */
    private String unit;

    /**
     * 状态值 1收藏0取消
     */
    private Integer status;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getBid() {
        return bid;
    }

    public void setBid(Integer bid) {
        this.bid = bid;
    }
    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }
    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getPurl() {
        return purl;
    }

    public void setPurl(String purl) {
        this.purl = purl;
    }
    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }
    public String getDescVal() {
        return descVal;
    }

    public void setDescVal(String descVal) {
        this.descVal = descVal;
    }
    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getProCode() {
        return proCode;
    }

    public void setProCode(String proCode) {
        this.proCode = proCode;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "CCollectPro{" +
        "id=" + id +
        ", bid=" + bid +
        ", cid=" + cid +
        ", pid=" + pid +
        ", proCode=" + proCode +
        ", purl=" + purl +
        ", pname=" + pname +
        ", descVal=" + descVal +
        ", price=" + price +
        ", createTime=" + createTime +
        ", unit=" + unit +
        "}";
    }
}
